package com.microservice.system.service;

import com.microservice.core.domain.AjaxResult;
import com.microservice.model.system.User;

/**
 * 用户服务接口
 */
public interface IUserService {

    AjaxResult add(User user);

    AjaxResult getPermissionByUsername(String username);

    AjaxResult getRoleByUsername(String username);

    AjaxResult getUserByUsername(String username);

    AjaxResult getUserList();

    AjaxResult delete(String id);
}
